 <?php if (validation_errors()): ?>
    <div class="error">
        <?php echo validation_errors(); ?>
    </div>
<?php endif; ?>
 <h2>Create User </h2>
    <div   >
        <?php echo form_open('user_main/create')?>
        <table>
            <tr>
                <td><label for="user_email">Email <span>*</span></label></td>
                <td><input id="user_email" name="user_email" value="" type="text" /></td>
            </tr>
            <tr>
                <td><label for="user_password">Password <span>*</span></label></td>
                <td><input id="user_password" name="user_password" value="" type="password" /></td>
            </tr>
            <tr>
                <td><label for="user_name">Name <span>*</span></label></td>
                <td><input id="user_name" name="user_name" value="" type="text" /></td>
            </tr>
            <tr>
                <td><label for="user_address">Address </label></td>
                <td> <textarea   id="user_address" name="user_address"></textarea></td>
            </tr>
            <tr>
                <td><label for="user_city">City </label></td>
                <td><input id="user_city" name="user_city" value="" type="text" /></td>
            </tr>
            <tr>
                <td><label for="user_state">State </label></td>
                <td><input id="user_state" name="user_state" value="" type="text" /></td>
            </tr>
            <tr>
                <td><label for="user_zip">Zip </label></td>
                <td><input id="user_zip" name="user_zip" value="" type="text" /></td>
            </tr>
            <tr>
                <td><label for="user_phone">Phone </label></td>
                <td><input id="user_phone" name="user_phone" value="" type="text" /></td>
            </tr>
            <tr>
                <td><button   title="Create user" type="submit"><span>Create User</span></button></td>
                <td> <button  onclick="window.location.replace('http://localhost/shiporder/shiporder_main/index/home')" title="Cancel" type="button"><span>Cancel</span></button></td>
            </tr>
        </table>
         
        
        </form>
    </div>
        